package com.qww.exec09;

public class Exec09 {

    public static void main(String[] args) {

        System.out.println(new A());
        System.out.println(new A(1000, "jack"));
    }
}

class A {
    int x;
    String s;

    A() {
        this(1, "unknown");

    }

    A(int x, String s) {
        this.x = x;
        this.s = s;
    }

    public String toString() {
        return x + ", " + s;
    }
}
